package com.jic.member.mapper;

import com.jic.member.entity.MememberIntegralOrderIncrement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员积分规则下单-充值赠送递增表
 * @author : 
 * @email : 
 * @since : 2020-04-02 03:33:22
 * @version : v1.0.0
 */
@Mapper
public interface  MememberIntegralOrderIncrementMapper {

    long insert(MememberIntegralOrderIncrement mememberIntegralOrderIncrement);

    long delete(Long id);

    long update(MememberIntegralOrderIncrement mememberIntegralOrderIncrement);

    MememberIntegralOrderIncrement queryByPrimaryKey(Long id);

    List<MememberIntegralOrderIncrement> query(MememberIntegralOrderIncrement mememberIntegralOrderIncrement);

    List<MememberIntegralOrderIncrement> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberIntegralOrderIncrement") MememberIntegralOrderIncrement mememberIntegralOrderIncrement);

    long queryPageCount(MememberIntegralOrderIncrement mememberIntegralOrderIncrement);

}